<!doctype html>
<html>
{include file="head.html"}

<body>
  <div class="fullscreen">
  <div class="scroll_content">
    <div class="topfixed">
      <div class="t_left"><a href="/index.php?m=ymdian&id={$ymdian.id}"><i class="back"></i></a></div>
      <div class="t_main">购物车</div>
    </div>
    <div class="paddingheight"></div>
    <div class="cart_list_wrap">
      <ul class="cart_list">
      	{foreach item=c from=$cart}
        <li class="clearfix"> <img src="{$c[product][imgurl]|images_site}.100x100.jpg" class="img">
          <div class="info">
            <p class="tit">{$c[product][title]}</p>
            <p class="price"><b class="red">￥<span class="p_price">{$c[price]}</span></b></p>
            <p class="total">合计：<b class="red p_total_money"  >{$c[total_money]}</b>元</p>
            <div class="cart_num" object_id="{$c.object_id}" shopid="{$c.shopid}" productid="{$c.productid}">
              <a class="Decrease" href="javascript:void(0)"><i>-</i></a>
            <input class="Amount" value="{$c.amount}" autocomplete="off" maxlength="3">
              <a class="Increase" href="javascript:void(0)"><i>+</i></a>
         	</div>
            </div>
        </li>
        {/foreach} 
      </ul>
    </div>
    <div class="comblock">
      <div class="cart_list_total">
        <p> 商品数量：<span id="cart_num">{$product_num}</span><br>
        </p>
        <p class="total"> 本单应付金额：<b class="red"  >￥<span id="cart_total_money">{$total_money}</span></b> </p>
      </div>
    </div>
    <a href="/index.php?m=ymdian_order&a=confirm&shopid={$ymdian.id}" class="cart_list_btn">去结算</a>
  </div>
</div>
 
 {include file="botnav.html"}
 {include file="footer.html"}
 <script src="{$skins}js/ymdian_cart.js"></script> 
</body>
</html>
